package cash.cmp.personal_financial_system.mapper;

import cash.cmp.personal_financial_system.model.Rights;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RoleMapper {
    //通过角色id获取权限
    List<Rights> findRightsByRid(Integer rid);

    //删除用户角色对应
    Boolean deleteUserRole(Integer id);
}
